﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM.Model
{
    [Serializable]
    public partial class RMLog
    {
        public RMLog()
        { }

        private int _id;
        private DateTime _datetime;
        private string _thread;
        private string _loglevel;
        private string _logger;
        private string _message;
        private string _address;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 日志时间
        /// </summary>
        public DateTime Datetime
        {
            get { return _datetime; }
            set { _datetime = value; }
        }
        /// <summary>
        /// 线程
        /// </summary>
        public string Thread
        {
            get { return _thread; }
            set { _thread = value; }
        }
        /// <summary>
        /// 日志级别
        /// </summary>
        public string LogLevel
        {
            get { return _loglevel; }
            set { _loglevel = value; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Logger
        {
            get { return _logger; }
            set { _logger = value; }
        }
        /// <summary>
        /// 消息
        /// </summary>
        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }
        /// <summary>
        /// IP地址
        /// </summary>
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }
    }
}
